package com.svse.designPattern.interfacesegregationprinciple;

import com.svse.designPattern.interfacesegregationprinciple.impl.StuScoreListImpl;
import com.svse.designPattern.interfacesegregationprinciple.service.CountModule;
import com.svse.designPattern.interfacesegregationprinciple.service.InputModule;
import com.svse.designPattern.interfacesegregationprinciple.service.PrintModule;

/**
 * @author LiYuhang
 * @version 0.1
 * @application
 * @Date 2020/7/25 17:17
 */
public class ISPtest {
    public static void main(String[] args) {
        InputModule input =StuScoreListImpl.getInputModule();
        CountModule count =StuScoreListImpl.getCountModule();
        PrintModule print =StuScoreListImpl.getPrintModule();
        input.insert();
        count.total();
        print.printStuInfo();
    }
}
